package com.group.medical.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 对话记录
 * @TableName tb_dialogue_record
 */
@TableName(value ="tb_dialogue_record")
@Data
public class DialogueRecord implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 症状说明
     */
    @TableField(value = "symptom")
    private String symptom;

    /**
     * 过去情况
     */
    @TableField(value = "past_situation")
    private String pastSituation;

    /**
     * 疼痛程度
     */
    @TableField(value = "pain_degree")
    private String painDegree;

    /**
     * 描述你的痛苦
     */
    @TableField(value = "describe")
    private String describe;

    /**
     * 状态;开始，未开始
     */
    @TableField(value = "state")
    private String state;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}